package ${daoPackage};

import java.math.BigDecimal;
import java.util.Date;
import org.springframework.stereotype.Repository;
import java.util.List;
import ${beanAllName};

@Repository
public interface ${beanName}${daoPostfix} {
    Long save${beanName}(${beanName}${beanPostfix} ${beanPostfix?lower_case});

    Long save${beanName}List(List<${beanName}${beanPostfix}> list);

    Long delete${beanName}ById(${(pri_type?contains("char"))?string("String","Long")} ${pri});

    Long update${beanName}ById(${beanName}${beanPostfix} ${beanPostfix?lower_case});

    List<${beanName}${beanPostfix}> get${beanName}List(${beanName}${beanPostfix} ${beanPostfix?lower_case});

    Long count${beanName}List(${beanName}${beanPostfix} ${beanPostfix?lower_case});
}